fix(permissions): handle properly CanRead permission from server
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 23 May 2025 17:53:41 +0000 (19:53 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 2 Jun 2025 11:40:40 +0000 (13:40 +0200)
commit34068fb2b18e66c0b56324e89af0ced9f19c4110
treeb5b29f4060a59f8f5e56455d728f3a4260327977
parent3db0f62b6787e9c17517d682a6df163b6a0ed536
fix(permissions): handle properly CanRead permission from server

if Readable permissions is missing, do nto try to download the file

if a file was downlaoded but Readable permission is now missing, remove
it

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/common/remotepermissions.cpp
src/common/remotepermissions.h
src/gui/tray/activitydata.cpp
src/libsync/discovery.cpp
test/sharetestutils.cpp
test/syncenginetestutils.cpp
test/testfolderman.cpp
test/testpermissions.cpp
test/testremotediscovery.cpp
test/testsyncengine.cpp
test/testsyncmove.cpp